package entity

// ConvertResponse API响应结构体
type ConvertResponse struct {
	Code       int                    `json:"code"`
	ResultMsg  string                 `json:"resultMsg,omitempty"`
	ResultData map[string]interface{} `json:"resultData"`
}

// ConvertHTMLRequest HTML转文件请求结构体
type ConvertHTMLRequest struct {
	HTMLContent string `json:"htmlContent" binding:"required" example:"<html><body><h1>Hello World</h1><img src='/static/test.jpg'/></body></html>"`
	Format      string `json:"format" binding:"required" example:"pdf"`
}
